package cn.huxingyuan.service;

import cn.huxingyuan.user.domain.User;
import cn.huxingyuan.user.query.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Hu
 * 2025/8/5 16:10
 */
public interface IUserService {
    User findById(Long id);

    List<User> findAll();

    void add(User user);

    void update(User user);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);

    PageInfo<User> pageAll(UserQuery userQuery);
}
